export let statusMap = {
	// init: '未运行',
	stop: "停止",
	starting: "启动中",
	// running: '运行中',
	stopping: "停止中",
	fail: "失败",
	// Pending: '等待中',
	// Failed: '失败',
	// Running: '运行中',
	// Succeeded: '成功',

	init: "未运行",
	terminated: "停止",
	queuing: "排队中",
	deploying: "部署中",
	running: "运行中",
	terminating: "停止中",
	creating: "创建中",
	completed: "完成",
	failed: "失败",
	Pending: "等待中",
	Failed: "失败",
	Running: "运行中",
	Succeeded: "成功",
	draft: "草稿",
	exception: "异常",
};

export let nodeTypeMaps = {
	"1": "主节点",
	"2": "从节点",
};

export let duTypeMaps = {
	"1": "人类",
	"2": "模型",
};

/*镜像状态字典 */
export let imagestatus = {
	init: "初始化",
	pending: "排队中",
	fail: "失败",
	succeed: "成功",
	stop: "停止",
	starting: "启动中",
	running: "运行中",
	stopping: "停止中",
};
export let labelTypeMaps = [
	{ label: "图像识别", value: "图像识别" },
	{ label: "人脸识别", value: "人脸识别" },
	{ label: "语音识别", value: "语音识别" },
	{ label: "文本识别", value: "文本识别" },
	{ label: "机器翻译", value: "机器翻译" },
	{ label: "垃圾邮件", value: "垃圾邮件" },
	{ label: "其他", value: "其他" },
];
export let ossProviderMaps = [
	{ label: "阿里云", value: "oss" },
	{ label: "腾讯云", value: "cos" },
	{ label: "华为云", value: "obs" },
	{ label: "minio", value: "minio" },
];
export let labelDicts = [
	{ label: "图像识别", value: 0 },
	{ label: "目标检测", value: 1 },
	{ label: "文本分类", value: 2 },
	{ label: "其他", value: 3 },
];
export let dataType = [
	{ label: "图片", value: 0 },
	{ label: "文本", value: 1 },
	{ label: "视频", value: 2 },
	{ label: "表格", value: 3 },
	{ label: "其他", value: 4 },
];
export let algorithms = [
	{ label: "dqn", value: "dqn" },
	{ label: "ppo", value: "ppo" },
	{ label: "a2c", value: "a2c" },
	{ label: "a3c", value: "a3c" },
	{ label: "ddpg", value: "ddpg" },
	{ label: "maddpg", value: "maddpg" },
	{ label: "td3", value: "td3" },
];
export let labelType = [
	{ label: "目标检测", value: 0 },
	{ label: "图像分类", value: 1 },
	{ label: "文本分类", value: 2 },
];
export let rlLabelDicts = [
	{ label: "规则型", value: 0 },
	{ label: "智能型", value: 1 },
];
export let pass_status = {
	0: "等待审核",
	1: "通过",
	2: "未通过",
};
export let roles = {
	"0": "super_admin",
	"1": "admin",
	"2": "dev",
	"3": "deploy",
	"4": "visitor",
};
export let zipFormat = {
	rar: true,
	zip: true,
	cab: true,
	arj: true,
	lzh: true,
	ace: true,
	"7-zip": true,
	tar: true,
	gzip: true,
	uue: true,
	jar: true,
	iso: true,
	z: true,
	"7z": true,
};
export let mediaFormat = {
	png: "pic",
	jpg: "pic",
	jpeg: "pic",
	gif: "pic",
	tiff: "pic",
	svg: "pic",
	raw: "pic",
	eps: "pic",
	bmp: "pic",
	webp: "pic",
	jfif: "pic",
	mp4: "video",
	rm: "video",
	rmvb: "video",
	mpeg: "video",
	mpg: "video",
	dat: "video",
	mov: "video",
	qt: "video",
	asf: "video",
	wmv: "video",
	mp3: "voice",
	cda: "voice",
	wav: "voice",
	aiff: "voice",
	aif: "voice",
	mid: "voice",
	wma: "voice",
	ra: "voice",
	vqf: "voice",
	ape: "voice",
	m4a: "voice",
	md: "markdown",
	py: "python",
	sh: "shell",
	yaml: "yaml",
	css: "css",
	// 'js': 'javascript',
};
export let applicationsMap = [
	"通讯和运营商",
	"媒体",
	"计算机硬件设备",
	"计算机软件和服务",
	"互联网游戏",
	"互联网服务",
	"物联网技术和服务",
	"智能消费品",
	"人工智能",
	"实体零售与批发",
	"电子商务",
	"物流和仓储",
	"旅行、文化、体育和娱乐",
	"服饰鞋帽、文教和体育用品",
	"家用电器",
	"食品、饮料和烟草",
	"农业综合",
	"钢铁制造",
	"设备制造",
	"通用工业品制造",
	"汽车、汽车配件和服务",
	"房地产和建筑",
	"银行",
	"保险",
	"证券和资本市场",
	"金融服务",
	"电网",
	"石油石化",
	"不可再生能源",
	"新能源和可再生能源",
	"化工",
	"政府",
	"军事工业",
	"医疗健康",
	"教育和科研机构",
	"交通运输",
	"公共服务",
];

/**
 *数据集格式
 *   */
export let formatMap = [
	{ label: "Video", value: "Video" },
	{ label: "Text", value: "Text" },
	{ label: "IMU", value: "IMU" },
	{ label: "DICOM", value: "DICOM" },
	{ label: "Event Camera", value: "Event Camera" },
	{ label: "GPS", value: "GPS" },
	{ label: "Depth", value: "Depth" },
	{ label: "Others", value: "Others" },
	{ label: "3D Model", value: "3D Model" },
	{ label: "Audio", value: "Audio" },
	{ label: "Point Cloud", value: "Point Cloud" },
	{ label: "Image", value: "Image" },
];

/**
 *数据集使用场景
 *   */
export let datasetSceneMap = [
	{ label: "Person", value: "Person" },
	{ label: "NLP", value: "NLP" },
	{ label: "UAV", value: "UAV" },
	{ label: "Others", value: "Others" },
	{ label: "Education", value: "Education" },
	{ label: "Industry", value: "Industry" },
	{ label: "Agriculture", value: "Agriculture" },
	{ label: "Aesthetics", value: "Aesthetics" },
	{ label: "Robot", value: "Robot" },
	{ label: "Illumination/Color", value: "Illumination/Color" },
	{ label: "MNIST", value: "MNIST" },
	{ label: "Game", value: "Game" },
	{ label: "Fashion", value: "Fashion" },
	{ label: "Animal", value: "Animal" },
	{ label: "AR/MR", value: "AR/MR" },
	{ label: "Food", value: "Food" },
	{ label: "Common", value: "Common" },
	{ label: "Smart Retailing", value: "Smart Retailing" },
	{ label: "Face", value: "Face" },
	{ label: "X-Ray", value: "X-Ray" },
	{ label: "Design", value: "Design" },
	{ label: "Medical", value: "Medical" },
	{ label: "Urban", value: "Urban" },
	{ label: "Plant", value: "Plant" },
	{ label: "Remote Sensing", value: "Remote Sensing" },
	{ label: "Infrared", value: "Infrared" },
	{ label: "Environment", value: "Environment" },
	{ label: "Vehicle", value: "Vehicle" },
	{ label: "Autonomous Driving", value: "Autonomous Driving" },
	{ label: "Eye", value: "Eye" },
];
export let groupNavMap = {
	analyse_data: "统计分析",
	customize: "自定义脚本",
	data_pre_handle: "数据预处理",
	evaluate_model: "评估模型",
	feature_engineering: "特征工程",
	machine_learning_model: "机器学习模型",
	// machine_learning_model: "深度学习",
	// machine_learning_model: "数据增强",
	read_data: "读取数据",
	text_analysis: "文本分析",
	view_data: "了解数据",
	visualize: "数据可视化",
	write_data: "写入数据",
};
export let paramMap = {
	hideMenu: process.env.VUE_APP_USER == "401" ? true : false,
	list_flag: process.env.VUE_APP_USER == "401" ? false : false,
	s3_flag: process.env.VUE_APP_USER == "401" ? false : true,
	notebook_flag: process.env.VUE_APP_USER == "401" ? false : true,
};
